<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich" xmlns:bf="http://www.bssmanager.com/jsf" xmlns:c="http://java.sun.com/jstl/core">

	
		<rich:toolBar >
				<h:panelGrid columns="3" style="color:black;font-weight:normal" >
					<h:outputLabel value="Date: " />
					<rich:calendar enableManualInput="false" value="#{controller[date]}" inputSize="12" id="globalCalendar"
						datePattern="dd MMM yy HH:mm">
							<a4j:support rendered="#{ajaxUpdate}" limitToList="true" onsubmit="if('#{showLoading}' == 'true')showLoading();" event="onchanged" reRender="#{reRender}#{renderItself ? ',globalCalendar':''}"
								action="#{controller[action]}"
								oncomplete="if('#{showLoading}' == 'true')hideLoading();if(#{not empty controller.errors})alert('#{controller.errors[0]}');" />
					</rich:calendar>					
				</h:panelGrid>
		</rich:toolBar>
	
</ui:composition>